import request from '@/utils/request'
//获取课程下的评论
export function getCommentList(page, limit, courseId) {
    return request({
        url: `/edu/front_comment/page/${page}/${limit}/${courseId}`,
        method: 'get',
    })
}

export function addComment(comment) {
    return request({
        url: `/edu/front_comment`,
        method: 'post',
        data: comment
    })
}

